home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.amiga.programmer
- X-Newsreader: UMSZer V2.22 public
- Mime-version: 1.0
- Content-Type: text/plain; charset=iso-8859-1
- Content-Transfer-encoding: 8BIT
- Path: news.tng.oche.de!tomate.tng.oche.de
- X-Gateway: ZCONNECT UE utomate.tng.oche.de.tomate.tng.oche.de [PolyNet zTOr V4.901 Serie: "light"]
- Subject: Arexx problem with vars
- Date: Mon, 15 Jan 96 13:46:17 GMT
- Message-ID: <68771100@0humpty.tomate.tng.oche.de>
- From: humpty@TOMATE.TNG.OCHE.DE (Andreas Mixich)
-
-
- Hi,
-
- I used to do a
-
- list.0 = list.0 + 1
-
- This worked.
-
- Now I have to seperate between two lists. So I did a
-
- IF valuexyz = xyz THEN
- x = L
- ELSE
- x = R
-
- x||list.0 = x||list.0 + 1
-
- This results in an "Arithmetic Conversion Error". Why ??
-
- I need the placeholder 'x||list' in a function, that may process a list.
-
- It is (abstract)
-
- bla = DoSomething(x||list)
-
- for different lists, but do not want to write (in the script these are
- large procedures ;-)) :
-
- IF valuexyz = xyz THEN
- bla = DoSomething(Llist)
- ELSE
- bla = DoSomething(Rlist)
-
- Any ideas ? Thanks.
-
-
- --
- Ciao, Andreas
- Internet: humpty@tomate.tng.oche.de
- FIDO : 2:244/1544.14
-
- 0x2B | ~0x2B -Hamlet
-
-